cmake_minimum_required(VERSION 3.0.0)
project(HelloGL VERSION 0.1.0)

set(CMAKE_CXX_STANDARD 11)

# header
configure_file(configuration/root_directory.h.in configuration/root_directory.h)
include_directories(${CMAKE_BINARY_DIR}/configuration)

add_subdirectory(third)
add_subdirectory(src)



# add_library(GLAD ${GLAD_SRC}/src/glad.c)
# set(LIBS ${LIBS} GLAD)
# set(GLFW3 ${GLFW}/libglfw3.a)
# set(LIBS ${LIBS} GLFW3)

# add_library(STB_IMAGE "${STB}/stb_image.cpp")
# set(LIBS ${LIBS} STB_IMAGE)

# link_libraries(${LIBS})

# set(SOURCES src/main.cpp)
# add_executable(HelloGL ${SOURCES})
# add_executable(triangle src/triangle.cpp)
# add_executable(window src/window.cpp)
# add_executable(rect src/rect.cpp)
# add_executable(hello_shader src/hello_shader.cpp)
# add_executable(textures_combined src/textures_combined.cpp)



